package day8;

import java.util.Scanner;

public class yidongdian {
	public static void main(String[] args) {
		
	
	Scanner scanner = new Scanner(System.in);
	System.out.println("请输入x坐标轴");
	int x = scanner.nextInt();
	System.out.println("请输入y轴坐标");
	int y = scanner.nextInt();
	Point point = new Point(x, y);
	System.out.println("请输入x轴移动的大小");
	int dx = scanner.nextInt();
	System.out.println("请输入y轴移动的大小");
	int dy = scanner.nextInt();
	point.movePoint(dx, dy);
	
	}

}
